<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<com:THead ID="headMasterPage" Title="Sitio Base">
  <meta http-equiv="content-language" content="en"/>
  <meta http-equiv="Cache-Control" content="no-cache" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="-1" />
  <script type="text/javascript" src="js/framework/jquery.js"></script>
  <script type="text/javascript" src="js/framework/jquery.ui.min.js"></script>
  <script type="text/javascript" src="js/framework/jquery.validationEngine-es.js"></script>
  <script type="text/javascript" src="js/framework/jquery.validationEngine.js"></script>
  <script type="text/javascript" src="js/framework/jquery.sexy-tooltips.js"></script>
  <script type="text/javascript" src="js/framework/jquery.fancybox.js"></script>
  <script type="text/javascript" src="js/generales.js" charset="utf-8"></script>
  <script type="text/javascript" src="js/validacion.js" charset="utf-8"></script>
  <script type="text/javascript" src="js/urlEncode.js"></script>
  <script type="text/javascript" src="js/uptime.js" charset="utf-8"></script>
  <script type="text/javascript" src="js/myjquery.js" charset="utf-8"></script>
</com:THead>

<body>
  <com:TForm ID="form1">
    <com:THiddenField ID="txtThemeBaseUrl" Value="" />
    <div class="cssMarginMarcoMaster">
      <div id="container">
        <!-- TOP -->
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
          <tr valign="top">
            <td style="text-align:left"><span id="notificacion_top_left"><img src="<%=$this->Page->Theme->BaseUrl.'/img/_blank.gif'%>" style="width:10px; height:1px;" alt="" /></span></td>
            <td style="text-align:center"><span id="notificacion_top_center"><img src="<%=$this->Page->Theme->BaseUrl.'/img/_blank.gif'%>" style="width:10px; height:1px;" alt="" /></span></td>
            <td style="text-align:right"><span id="notificacion_top_right"><img src="<%=$this->Page->Theme->BaseUrl.'/img/_blank.gif'%>" style="width:10px; height:1px;" alt="" /></span></td>
          </tr>
        </table>
        <div id="contentTop" class="clearBoth">
          <ul class="floatRightLI">
            <li style="padding-right:22px;">
              <com:TLabel ID="lblNombreUsuario" CssClass="cssTextoNormalTop"></com:TLabel>
              <span id="lnkVerConfiguracionUsuario" class="ico16-flecha-configuracion-expandir" style="position:relative; z-index:100;"><img src="<%=$this->Page->Theme->BaseUrl.'/img/_blank.gif'%>" class="ico16" alt="" /></span>
            </li>
          </ul>

          <div id="hConfiguracionUsuario" style="display:none;position:absolute;top:0px;left:0px" class="cssHolderConfiguracionUsuario">
            <div class="clearBoth cssBackgroundItemConfiguracion"><com:THyperLink ID="lbtnVolverPrincipal" ToolTip="Inicio" CssClass="cssTextoTop" Text="Inicio" NavigateUrl="javascript:;"></com:THyperLink></div>
            <div class="clearBoth cssBackgroundItemConfiguracion"><com:THyperLink ID="lbtnCerrarSesion" EnableViewState="false" ToolTip="Cerrar Sesi&oacute;n" CssClass="cssTextoTop" NavigateUrl="<%=$this->Service->constructUrl('Logout') %>" Text="Cerrar Sesi&oacute;n"></com:THyperLink></div>
            <div class="clearBoth" style="padding-top:7px; text-align:right"><i><com:TLabel ID="lblPerfilUsuario" CssClass="cssTextoPequenoTop"></com:TLabel></i></div>
          </div>
        </div>

        <!-- MENU -->
        <div id="contentLeft" class="clearBoth" style="position:absolute; top:31px; display:none; z-index: 300">
        <!--div id="contentLeft" class="clearBoth"-->
          <div class="floatLeft">
            <table border="0" cellpadding="0" cellspacing="0">
              <tr valign="top">
                <td class="cssDimensionesMenu">
                  <com:TLabel ID="hMenu"></com:TLabel>
                </td>
              </tr>
            </table>
          </div>
          <div id="tabMenu" class="floatLeft boton-menu-inactivo"><img src="<%=$this->Page->Theme->BaseUrl.'/img/_blank.gif'%>" class="boton-menu" alt="" /></div>
        </div>

        <!-- CONTENIDO -->
        <div id="contentCenter" class="clearBoth">
          <div id="contentRight">
            <com:TContentPlaceHolder id="cphContent"></com:TContentPlaceHolder>
          </div>
        </div>
        <div id="contentBottom" class="clearBoth"><!-- colocar un pie de pagina si se desea --></div>
      </div>
    </div>

    <script type="text/javascript" language="javascript">
      jQuery(document).ready(function() {
        var nameHolderMenu = "#contentLeft";
        var nameHolderConfiguracionUsuario = "#hConfiguracionUsuario";
        var nameLinkConfiguracionUsuario = "#lnkVerConfiguracionUsuario";
        var anchoHolderMenu = jQuery(nameHolderMenu).width() - 27;
        jQuery(nameHolderMenu).css("left", "-214px");
        jQuery(nameHolderMenu).show();
        jQuery(nameHolderMenu).floatPanel({ speed: "normal" });
        jQuery("#tabMenu").toggleMenu(nameHolderMenu, anchoHolderMenu);
        jQuery(nameLinkConfiguracionUsuario).verConfiguracionUsuario(nameHolderConfiguracionUsuario);
        jQuery(nameHolderConfiguracionUsuario).mouseleave(function() {
          jQuery(nameLinkConfiguracionUsuario).attr("class", "ico16-flecha-configuracion-expandir");
          jQuery(this).hide();
        });
      });
    </script>

  </com:TForm>
</body>
</html>